package com.example.chat.type;

/**
 * @author pq
 * @date 2022/8/14 0:40
 * @description
 * @modified
 **/
public enum DataStatusEnum {
    effective(1,"有效"),
    invalid(0,"无效");

    private final Integer code;

    private final String desc;

    DataStatusEnum(Integer code,String desc){
        this.code=code;
        this.desc=desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
